package icu.d4peng.basic.http.feign;

import feign.codec.ErrorDecoder;

/**
 * @author d4peng d4peng@qq.com
 * @date 2023-11-26 15:36:16
 */

public interface FeignErrorDecoderFactory {

	/**
	 * Factory method to provide a {@link ErrorDecoder} for a given {@link Class}.
	 * @param type the {@link Class} for which a {@link ErrorDecoder} instance is to be
	 * created
	 * @return a {@link ErrorDecoder} instance
	 */
	ErrorDecoder create(Class<?> type);

}
